home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / var / lib / dpkg / info / onboard.postinst < prev    next >
Encoding:
Text File  |  2008-03-03  |  738 b   |  24 lines

  1. #!/bin/sh
  2. set -e
  3. # Automatically added by dh_pycentral
  4. if which pycentral >/dev/null 2>&1; then
  5.     pycentral pkginstall onboard
  6.     if grep -qs '^onboard$' /var/lib/pycentral/delayed-pkgs; then
  7.         sed -i '/^onboard$/d' /var/lib/pycentral/delayed-pkgs
  8.     fi
  9. fi
  10. # End automatically added section
  11. # Automatically added by dh_desktop
  12. if [ "$1" = "configure" ] && which update-desktop-database >/dev/null 2>&1 ; then
  13.     update-desktop-database -q
  14. fi
  15. # End automatically added section
  16. # Automatically added by dh_pycentral
  17. if which pycentral >/dev/null 2>&1; then
  18.     pycentral pkginstall onboard
  19.     if grep -qs '^onboard$' /var/lib/pycentral/delayed-pkgs; then
  20.         sed -i '/^onboard$/d' /var/lib/pycentral/delayed-pkgs
  21.     fi
  22. fi
  23. # End automatically added section
  24.